package com.coding.service;

import com.coding.base.pojo.BaseModel;
import com.coding.base.pojo.PageQueryModel;
import com.coding.pojo.Post;
import org.springframework.web.multipart.MultipartFile;

/**
 * @auther wangchenghao
 * @date 2020/7/28
 **/
public interface PostService {
    void getlistbyselect(int user_id,Post post, PageQueryModel pageQueryModel, BaseModel baseModel)throws Exception;
    void getPostbyselect(int user_id,int post_id, BaseModel baseModel)throws Exception;
    void insertPost(Post post, MultipartFile file, BaseModel baseModel)throws Exception;
    void insertPostMoreImage(Post post,MultipartFile[] files,BaseModel baseModel)throws Exception;

}
